go/types.Named.methods (field)
19 uses
go/types (current package)
named.go#L130: methods []*Func
named.go#L253: if len(orig.methods) == 0 {
named.go#L278: n.methods = methods
named.go#L324: typ := &Named{check: check, obj: obj, fromRHS: fromRHS, methods: methods}
named.go#L412: return len(t.Origin().unpack().methods)
named.go#L430: return t.methods[i]
named.go#L439: if len(t.methods) != len(orig.methods) {
named.go#L440: assert(len(t.methods) == 0)
named.go#L441: t.methods = make([]*Func, len(orig.methods))
named.go#L444: if t.methods[i] == nil {
named.go#L446: t.methods[i] = t.expandMethod(i)
named.go#L451: if t.inst.expandedMethods == len(orig.methods) {
named.go#L457: return t.methods[i]
named.go#L550: t.methods = append(t.methods, m)
named.go#L562: for i, m := range t.methods {
named.go#L568: for i, m := range t.methods {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)